package com.wanlink.mall.app.model;

import java.io.Serializable;

//无data
public class BaseModel<T> implements Serializable {
    public String msg;

    public String code;

    public T data;

    public T getData() {
        return data;
    }

    public String code() {
        return code;
    }

    @Override
    public String toString() {
        return "BaseModel{" +
                " msg='" + msg + '\'' +
                ", code='" + code + '\'' +
                ", data=" + data +
                '}';
    }

}
